package com.ffzx.commerce.framework.controller;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.servlet.view.freemarker.FreeMarkerView;

/**
 * @author CMM
 *
 *         2016年6月14日 上午11:19:44
 */
public class MyFreeMarkerView extends FreeMarkerView {

	@Override
	protected void exposeHelpers(Map<String, Object> model, HttpServletRequest request) throws Exception {
		model.put("session_id", request.getSession().getId());
		super.exposeHelpers(model, request);
	}
}
